forum

home / developersection / forums / how to use custom session value

How to use custom Session Value

Anonymous User 2039 31-Oct-2014
How can i use my own (custom) session value inside wordpress?
For example: $_SESSION['myname']="mindstick"

I've already inserted session_start() at all page i need as following.

<?php
session_start();
$_SESSION['myname'] = "mindstick";
?>

But not working.
Just working on the self page.
It is NOT call-able from another pages (using same logic).

Updated on 31-Oct-2014

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By